PHP: Count a stdClass object

47

PHP: Count a stdClass object -

$total = count((array)$obj);

Comments

Submit
0 Comments